 <include file="Public:header"/>
 <script type="text/javascript" charset="utf-8">window.UEDITOR_HOME_URL= "__PUBLIC__/ueditor/";</script>
 <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/editor_config.js"></script>
 <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/editor_all.js"></script>

<form method="POST" action="__URL__/shipping/?action=save&id={$ship.id}">
	<table border="0" width="100%" id="table1">
		<tr>
			<td align="right">文章标题：</td>
			<td><input type="text" name="title" size="20" value="{$ship.title}"></td>
		</tr>
		<tr>
			<td align="right">是否显示：</td>
			<td>
<if condition="$ship.disable eq 'f'">
				<input type="radio" value="f" checked name="disable">是
				<input type="radio" value="t" name="disable">否
<else/>
				<input type="radio" value="f" name="disable">是
				<input type="radio" value="t" checked name="disable">否
</if>
			</td>
		</tr>
		<tr>
			<td align="right">文章内容：</td>
			<td><textarea id="contents" name="contents">{$ship.content}</textarea></td>
		</tr>
	</table>
	<div id="save"><input type="submit" value="保存修改" name="B1"></div>
</form>

<SCRIPT type="text/javascript">  
    var editor = new UE.ui.Editor({
    initialFrameHeight:240
	,initialFrameWidth:800
}); 
    editor.render("contents");  
</SCRIPT>